# encoding: utf-8
#sdk version: 2.2.1060.13-SNAPSHOT

from sdktest_module.utils.api_base_builder import ApiBaseBuilder, parameter

class SendMessageApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.sendMessage"

	@parameter(1,"int")
	def messageType(self, messageType):
		return self

	@parameter(2,"long")
	def uid(self, uid):
		return self

	@parameter(3,"String")
	def userName(self, userName):
		return self

	@parameter(4,"String")
	def message(self, message):
		return self

	@parameter(5,"java.util.HashMap")
	def props(self, props):
		return self

	@parameter(6,"tv.athena.live.api.channel.ChatRoomCallback")
	def callback(self, callback):
		return self

class SendMessageToSelfApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.sendMessageToSelf"

	@parameter(1,"int")
	def messageType(self, messageType):
		return self

	@parameter(2,"long")
	def uid(self, uid):
		return self

	@parameter(3,"String")
	def message(self, message):
		return self

	@parameter(4,"java.util.HashMap")
	def props(self, props):
		return self

	@parameter(5,"Object")
	def data(self, data):
		return self

	@parameter(6,"tv.athena.live.api.channel.ChatRoomCallback")
	def callback(self, callback):
		return self

class ObserverChatMessageForeverApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.observerChatMessageForever"

	@parameter(1,"android.arch.lifecycle.Observer")
	def observer(self, observer):
		return self

class RemoveObserverApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeObserver"

	@parameter(1,"android.arch.lifecycle.Observer")
	def observer(self, observer):
		return self

class GetLastCountApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getLastCount"

class AddUserChatDisableCallbackApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.addUserChatDisableCallback"

	@parameter(1,"tv.athena.live.api.chatroom.IDisableCallback")
	def callback(self, callback):
		return self

class RemoveUserChatDisableCallbackApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeUserChatDisableCallback"

class AddMessageReceiveListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.addMessageReceiveListener"

	@parameter(1,"tv.athena.live.api.chatroom.IReceiveMessageCallback")
	def callback(self, callback):
		return self

class RemoveMessageRecieveListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeMessageRecieveListener"

class AddSensitiveWordsCallbackApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.addSensitiveWordsCallback"

	@parameter(1,"tv.athena.live.api.chatroom.ISensitiveWordsCallback")
	def callback(self, callback):
		return self

class RemoveSensitiveWordsCallbackApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeSensitiveWordsCallback"

class IgnoreEntranceChannelWaterMessageApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.ignoreEntranceChannelWaterMessage"

	@parameter(1,"boolean")
	def ignore(self, ignore):
		return self

class FetchRoamingMessagesApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.fetchRoamingMessages"

	@parameter(1,"int")
	def limit(self, limit):
		return self

class ClearChatMessagesApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.clearChatMessages"

